:root {
    --page-side-pad: clamp(20px, 3.2vw, 60px);
}

/* 引入自定义字体 */
@font-face {
    font-family: 'MontserratBold';
    src: url('../fonts/Montserrat-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratLight';
    src: url('../fonts/Montserrat-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Semi Bold';
    src: url('../fonts/Montserrat Semi Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    display: block;
}

.layout-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 100vh;
}

/* ================= 主横幅 ================= */
.hero {
    position: relative;
    width: 100%;
    height: clamp(380px, 56.25vw, 1080px);
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: none;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
}

.hero-image-mobile {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 5;
    display: none;
}

.hero-text {
    position: absolute;
    bottom: clamp(20px, 2.1vw, 40px);
    left: var(--page-side-pad);
    font-size: clamp(24px, 2.6vw, 50px);
    z-index: 10;
    font-family: 'MontserratBold', Arial, sans-serif;
}

.hero-text h1 {
    font-size: clamp(24px, 2.6vw, 50px);
    font-weight: bold;
    letter-spacing: clamp(1px, 0.16vw, 3px);
}

/* ================= 通用分隔与标题 ================= */
.divider {
    height:1px;
    background-color: #a3a2a2;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-left: var(--page-side-pad);
    padding-right: var(--page-side-pad);
    background-clip: content-box;
}

.divider:first-of-type {
    margin-top: clamp(16px, 1.85vw, 35px);
    margin-bottom: clamp(16px, 1.85vw, 35px);
}

.divider:nth-of-type(2) {
    margin-top: 0;
    margin-bottom: clamp(16px, 1.9vw, 36px);
    margin-top: clamp(14px, 1.7vw, 32px);
}

.divider:last-of-type {
    margin-top: clamp(28px, 3.85vw, 74px);
    margin-bottom: clamp(20px, 2.4vw, 46px);
}

.section-title {
    padding: 0 clamp(20px, 3.2vw, 60px) clamp(30px, 3.9vw, 75px);
    font-size: clamp(16px, 1.25vw, 24px);
    letter-spacing: clamp(0.5px, 0.06vw, 1px);
    text-transform: uppercase;
    max-width: 1920px;
    margin: 0 auto;
    font-family: 'MontserratBold', Arial, sans-serif;
}

/* ================= 产品展示区 (网格) ================= */
.products-section {
    padding: 0 clamp(20px, 3.2vw, 60px) clamp(45px, 5.5vw, 106px) clamp(20px, 3.2vw, 60px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.05vw, 20px);
    max-width: 1920px;
    margin: 0 auto;
}

.product-card {
    background-color: #fff;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    margin-top: 30px;
}

.product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 95%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-label {
    position: absolute;
    bottom: clamp(-35px, -1.85vw, -14px);
    left: 0;
    width: 100%;
    font-size: clamp(11px, 1.24vw, 23.8px);
    color: #fff;
    font-weight: bold;
    letter-spacing: clamp(0.4px, 0.05vw, 1px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    pointer-events: none;
    z-index: 10;
    font-family: 'MontserratBold', Arial, sans-serif;
}

/* ================= 场景展示区 (三图一排网格) ================= */
.scenes-section {
    padding: 0 clamp(20px, 3.2vw, 60px);
    max-width: 1920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.05vw, 20px);
}

.scene-card {
    background-color: #222;
    position: relative;
    overflow: hidden;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    display: inline-block;
    width: 100%;
    border-radius: 0;
}

.scene-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= 响应式适配 ================= */
@media (max-width: 1500px) and (min-width: 768px) {
    .products-section, .scenes-section, .section-title {
        padding-left: var(--page-side-pad);
        padding-right: var(--page-side-pad);
    }
    .divider {
        padding-left: var(--page-side-pad);
        padding-right: var(--page-side-pad);
    }
    .products-section {
        padding-bottom: 106px;
    }
    .section-title {
        padding: 0 var(--page-side-pad) 75px;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 72vh;
    }
    .hero-text {
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
        text-align: center;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .hero-text h1 {
        font-size: 24px;
    }
    .hero-image {
        display: none;
    }
    .hero-image-mobile {
        display: block;
        width: 100%;
    }
    .divider {
        padding-left: var(--page-side-pad);
        padding-right: var(--page-side-pad);
        margin-bottom: 20px;
    }
    .divider:first-of-type {
        margin-bottom: 20px;
    }
    .divider:nth-of-type(2) {
        margin-bottom: 10px;
    }
    .divider:last-of-type {
        margin-bottom: 30px;
    }
    .section-title {
        padding: 0 var(--page-side-pad) 20px;
        font-size: clamp(12px, 3vw, 18px);
    }
    .products-section {
        padding: 0 var(--page-side-pad) 60px var(--page-side-pad);
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-card {
        aspect-ratio: 1;
        height: auto;
        margin-top: 15px;
    }
    .product-label {
        font-size: 8px;
        bottom: -20px;
    }
    .scenes-section {
        padding: 0 var(--page-side-pad);
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .scene-card img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 479px) {
    .hero {
        height: 72vh;
    }
    .hero-text {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        text-align: center;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .hero-text h1 {
        font-size: 24px;
    }
    .hero-image {
        display: none;
    }
    .hero-image-mobile {
        display: block;
        width: 100%;
    }
    .products-section {
        padding: 0 var(--page-side-pad) 50px var(--page-side-pad);
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .product-card {
        aspect-ratio: 1;
        height: auto;
        margin-top: 15px;
    }
    .product-label {
        font-size: 8px;
        bottom: -18px;
    }
    .scenes-section {
        padding: 0 var(--page-side-pad);
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .section-title {
        padding: 0 var(--page-side-pad) 15px;
        font-size: clamp(12px, 3vw, 18px);
    }
}